* calendar/todos.el: Implement saving top priority items buffers,
authorStephen Berman <stephen.berman@gmx.net>
Mon, 14 Jan 2013 12:51:14 +0000 (13:51 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Mon, 14 Jan 2013 12:51:14 +0000 (13:51 +0100)
commitf3ee36adfee90f0ed7e42d710a1a048ce0b9f766
tree4e2ac5dd9f103bf9e12b5e8ee5206d426538c8fe
parentec46301efe14c9d88bf6c7160b812c25d54e69bb
* calendar/todos.el: Implement saving top priority items buffers,
improve implementation of item filtering commands and
infrastucture, and fix two bugs.
(todos-prefix-overlays): Use todos-top-priority face only in Todos
mode.
(todos-multiple-filter-files): Get file-truename of Todos file.
(todos-filter-items): Pass a list of files from the caller instead
of building it here, and move handling of cancelled file selection
dialog to callers.  Correct omission of file-wide default number
of top priorities.
(todos-filtered-buffer-name): Treat file-list argument only as a list.
(todos-find-item, todos-check-top-priorities)
(todos-top-priorities-filename)
(todos-save-top-priorities-buffer): New functions.
(todos-save): Use todos-save-top-priorities-buffer.
(todos-jump-to-item): Refactor and use todos-find-item.
(todos-top-priorities): Simplify semantics of prefix argument.
Check if top priorities file exists and if so, visit it, reporting
whether it is up to date.  Add optional argument and use it to
handle multiple files.
(todos-diary-items, todos-regexp-items): Add optional argument and
use it to handle multiple files.
(todos-top-priorities-multifile, todos-diary-items-multifile)
(todos-regexp-items-multifile): Refactor, using corresponding
non-multifile command.
(auto-mode-alist): Add pattern for top priorities files to visit
these in Todos Filtered Items mode.
lisp/ChangeLog
lisp/calendar/todos.el